//package com.plian.system.entity.dg;
//
//import com.baomidou.mybatisplus.annotation.TableField;
//import com.baomidou.mybatisplus.annotation.TableName;
//import com.fasterxml.jackson.annotation.JsonFormat;
//import com.fasterxml.jackson.databind.annotation.JsonSerialize;
//import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
//import com.plian.Tools.DateUtil;
//import com.plian.system.mybatis.base.BaseEntity;
//import io.swagger.annotations.ApiModel;
//import io.swagger.annotations.ApiModelProperty;
//import lombok.Data;
//import lombok.EqualsAndHashCode;
//import org.springframework.format.annotation.DateTimeFormat;
//
//import java.util.Date;
//import java.util.HashMap;
//import java.util.List;
//
///**
// * @Description: TODO 企业章程
// * @Author: Take-off
// * @Date: 2023/4/4 3:46 PM
// * @Param
// * @return
// * @Version: 1.0
// **/
//@Data
//@TableName("dg_enterprise_association")
//@EqualsAndHashCode(callSuper = true)
//@ApiModel(value = "EnterpriseAssociation 对象", description = "企业章程文件")
//public class EnterpriseAssociation extends BaseEntity {
//
//    @ApiModelProperty(value = "单据编码")
//    private String code;
//
//    @ApiModelProperty(value = "上报年度")
//    private String fillingYear;
//
//    @ApiModelProperty(value = "上报单位")
//    private String fillingUnitId;
//
//    @ApiModelProperty(value = "组织单位")
//    private String orgId;
//
//    @ApiModelProperty(value = "上报日期")
//    @DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
//    @JsonFormat(pattern = DateUtil.PATTERN_DATE)
//    private Date fillingTime;
//
//    @ApiModelProperty(value = "企业章程文件名称")
//    private String fileName;
//
//    @ApiModelProperty(value = "所属单位")
//    private String belongUnitId;
//
//    @ApiModelProperty(value = "生效日期")
//    @DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
//    @JsonFormat(pattern = DateUtil.PATTERN_DATE)
//    private Date effectTime;
//
//    @ApiModelProperty(value = "失效日期")
//    @DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
//    @JsonFormat(pattern = DateUtil.PATTERN_DATE)
//    private Date failureTime;
//
//    @ApiModelProperty(value = "文档状态:1-生效中;2-已废止")
//    private Integer fileStatus;
//
//    @ApiModelProperty(value = "企业章程状态:1-未变更;2-已变更")
//    private Integer associationStatus;
//
//    @ApiModelProperty(value = "变更原因:1-新设；2-重组；3-改制")
//    private Integer changeCause;
//
//    @ApiModelProperty(value = "上个版本id")
//    @JsonSerialize(using = ToStringSerializer.class)
//    private Long lastVersionId;
//
//    @ApiModelProperty(value = "初始版本id")
//    @JsonSerialize(using = ToStringSerializer.class)
//    private Long initialId;
//
//    @ApiModelProperty(value = "版本号")
//    private Integer version;
//
//    @ApiModelProperty(value = "是否最新 1否2是")
//    private Integer isLatest;
//
//    @ApiModelProperty(value = "单据类型")
//    private String formType;
//
//    @ApiModelProperty(value = "数据来源 null为系统填报 对应用户id")
//    private String dataSource;
//
//    @ApiModelProperty(value = "数据来源id", required = true)
//    private String dataSourceId;
//
//    @ApiModelProperty(value = "制度附件")
//    @TableField(exist = false)
//    private List<HashMap> docList;
//
//    @ApiModelProperty(value = "产权id")
//    private String proId;
//
//    @ApiModelProperty(value = "审批人")
//    private String approvedUser;
//    /**
//     * 审批时间
//     */
//    @ApiModelProperty(value = "审批时间")
//    private Date approvedTime;
//}
